package cn.kinoko.model.user.constant;

import cn.kinoko.common.base.model.BaseEnum;
import lombok.Getter;

/**
 * 用户状态
 * @author kinoko
 * @date 2023/8/3 11:38
 */
@Getter
public enum UserStateEnum implements BaseEnum<Integer> {
    ENABLE(0, "生效"),
    DISABLE(1, "失效");

    private final Integer code;
    private final String desc;

    UserStateEnum(Integer code, String description) {
        this.code = code;
        this.desc = description;
    }

}
